import { ipcApiRoute } from "@/api/main";
import { ipc } from "@/utils/ipcRenderer";
import { ref } from "vue";

export function deptHooks () {
	const data = ref([])

	async function init () {
		data.value = await ipc.invoke(ipcApiRoute.getAllDepts, {})
	}


}
